const mongoose = require('mongoose')
const Schema = mongoose.Schema
const schema = new Schema({
  name: { type: String, required: true },
  avatar: { type: String, required: true },
  isVip: { type: Boolean, required: true }
})
module.exports = mongoose.model('Author', schema)
